package com.yzf.demo.demo.Redis;


import redis.clients.jedis.Jedis;

/**
 * Created by 于占峰 on 2020/4/1/001.
 * jedis测试
 */
public class JedisTest {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("127.0.0.1", 6379);
        //jedis.set("name","隔壁老于");
        System.out.println(jedis.get("name"));
        jedis.close();
    }
}
